package com.durian.finance.service;

import com.durian.financial.api.domain.JrFactoring;
import com.durian.financial.api.domain.JrProduct;

import java.util.Map;

/**
 * 租约保理申请Service接口
 * 
 * @author durian
 * @date 2022-06-27
 */
public interface IJrFactoringService 
{

    /**
     * 获取指定类型金融产品Map
     *
     * @param projectType
     * @return
     */
    Map<Long, JrProduct> getProductMap(Integer projectType);


    /**
     * 保存租约保理申请
     *
     * @param saveFactoring
     * @return
     */
    boolean saveFactoring(JrFactoring saveFactoring);
}
